package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Department;
import cn.wolfcode.rbac.query.PageResult;
import cn.wolfcode.rbac.query.QueryObject;

import java.util.List;

public interface IDepartmentService {
    void delete(long id);

    Department get(Long id);

    List<Department> listAll();

    void saveOrUpdate(Department department);

    PageResult query(QueryObject qo);
}
